{% extends "admin/base_site.html" %}

{% block content %}
    <form method="post" action="{{ path }}">
        {%csrf_token%}
        <select name="tagname">
        	<option value="" selected="selected">---------</option>
        	{% for tag in tag_data %}
        		<option value="{{tag}}">{{tag}}</option>
        	{% endfor %}
        </select>
        {% for k in selected_action %}
        <input id="id__selected_action_{{forloop.counter0}}" name="_selected_action" type="hidden" value="{{k}}">
        {% endfor %}

        <p style="padding-top:20px;">
            <input type="hidden" name="action" value="{{action}}" />
            <input type="submit" name="cancel" value="取消" />
            <input type="submit" value="确定"/>
        </p>
    </form>
{% endblock %}